<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
	String basePath = request.getContextPath();
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="<%=basePath %>/res/easyui/themes/gray/easyui.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath %>/res/easyui/themes/color.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath %>/res/easyui/themes/icon.css">
	<script type="text/javascript" src="<%=basePath %>/res/js/jquery.min.js"></script>
	<script type="text/javascript" src="<%=basePath %>/res/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="<%=basePath %>/res/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script src="<%=basePath %>/res/js/admin_users.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<table id="tt" class="easyui-datagrid" style="width:600px;"  
        data-options="fitColumns:false, 
        singleSelect:true, 
        rownumbers:true, 
        pagination:true,
        url:'load',
        idField:'id'
        ">  
	    <thead>  
	        <tr>  
	            <th data-options="field:'id', hidden:true">id</th>  
	            <th data-options="field:'ck', checkbox:true"></th>  
	            <th data-options="field:'username', width:100">姓名</th>  
	            <th data-options="field:'password',width:100, align:'center', formatter:formatterPassword">密码</th>
	            <th data-options="field:'status' , width:100, align:'center', formatter:formatterStatus">状态</th>  
	        </tr>  
	    </thead>  
	</table>
	
	<div id="dd" class="easyui-dialog" title="添加用户" style="width:400px;height:200px;"  
        data-options="iconCls:'icon-add',resizable:false,modal:true,
        buttons:'#bb', closed:true" style="padding: 10px;">
		用户名：<input type="text" name="username" id="dd_username"><br/>
		密&nbsp;&nbsp;码：<input type="password" name="password" id="dd_password"><br/>   
	</div>  
	<div id="bb">
		<a href="#" class="easyui-linkbutton" onclick="javascript:bb_save()">确定</a>
	</div>
</body>
</html>